package org.usp.poli.bipt.client.ui;

import com.google.gwt.event.dom.client.MouseOverEvent;
import com.google.gwt.event.dom.client.MouseOverHandler;
import com.google.gwt.user.client.Timer;
import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.HorizontalPanel;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.PopupPanel;
import com.google.gwt.user.client.ui.PushButton;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.Widget;
import org.usp.poli.bipt.client.*;

public class MetaDataMenu {
	private String imagem, texto;
	private PushButton btnMenu; 

	//menu form
	private PushButton basicmetadataLk;
	private PushButton geographicCoverageLk;
	private PushButton lowestCommonTaxLk;
	private PushButton resourceOriginatorLk;
	private PushButton methodsLk;
	private PushButton researchProjectLk;
	private PushButton taxonomicCoverageLk;
	private PushButton ipRightsLk;
	private PushButton generalKeywordsLk;
	private PushButton temporalCoverageLk;
	
	private HorizontalPanel menuBtn = new HorizontalPanel();
	private VerticalPanel menuForm = new VerticalPanel();
	public MetaDataMenu() {
		//--Menu de bot�es
	    //menuBtn.addStyleName("menuBtn");
	    
		//menuBtn();
		
		menuForm();
		//menuBtn();
		//menuForm();
	}

	private void menuForm() {
		setBasicmetadataLk(new PushButton("Basic Metadata","Go!"));
		setGeographicCoverageLk(new PushButton("Geographic Coverage","Go!"));
		setLowestCommonTaxLk(new PushButton("Lowest Common Tax","Go!"));
		setResearchProjectLk(new PushButton("Research Project","Go!"));
		setMethodsLk(new PushButton("Methods","Go!"));
		setResourceOriginatorLk(new PushButton("Resource Originator","Go!"));
		setTaxonomicCoverageLk(new PushButton("Taxonomic Coverage","Go!"));
		setIpRightsLk(new PushButton("IPRights","Go!"));
		setGeneralKeywordsLk(new PushButton("General Keywords","Go!"));
		setTemporalCoverageLk(new PushButton("Temporal Coverage","Go!"));
		
		
	    menuForm.setHorizontalAlignment(HorizontalPanel.ALIGN_CENTER);
	    menuForm.setSpacing(15);
	    menuForm.add(getBasicmetadataLk());
	    menuForm.add(getGeographicCoverageLk());
	    menuForm.add(getLowestCommonTaxLk());
	    menuForm.add(getResearchProjectLk());
	    menuForm.add(getMethodsLk());
	    menuForm.add(getResourceOriginatorLk());
	    menuForm.add(getTaxonomicCoverageLk());
	    menuForm.add(getIpRightsLk());
	    menuForm.add(getGeneralKeywordsLk());
	    menuForm.add(getTemporalCoverageLk());
	}

	
	
	public HorizontalPanel getMenu(){

		
		return this.menuBtn;
	}
	
	public VerticalPanel getMenuForm(){

		
		return this.menuForm;
	}

	public void setBasicmetadataLk(PushButton basicmetadataLk) {
		this.basicmetadataLk = basicmetadataLk;
	}



	public PushButton getBasicmetadataLk() {
		return basicmetadataLk;
	}



	public void setGeographicCoverageLk(PushButton geographicCoverageLk) {
		this.geographicCoverageLk = geographicCoverageLk;
	}



	public PushButton getGeographicCoverageLk() {
		return geographicCoverageLk;
	}



	public void setLowestCommonTaxLk(PushButton lowestCommonTaxLk) {
		this.lowestCommonTaxLk = lowestCommonTaxLk;
	}



	public PushButton getLowestCommonTaxLk() {
		return lowestCommonTaxLk;
	}



	public void setResourceOriginatorLk(PushButton resourceOriginatorLk) {
		this.resourceOriginatorLk = resourceOriginatorLk;
	}



	public PushButton getResourceOriginatorLk() {
		return resourceOriginatorLk;
	}



	public void setMethodsLk(PushButton methodsLk) {
		this.methodsLk = methodsLk;
	}



	public PushButton getMethodsLk() {
		return methodsLk;
	}



	public void setResearchProjectLk(PushButton researchProjectLk) {
		this.researchProjectLk = researchProjectLk;
	}



	public PushButton getResearchProjectLk() {
		return researchProjectLk;
	}



	public void setTaxonomicCoverageLk(PushButton taxonomicCoverageLk) {
		this.taxonomicCoverageLk = taxonomicCoverageLk;
	}



	public PushButton getTaxonomicCoverageLk() {
		return taxonomicCoverageLk;
	}



	public void setIpRightsLk(PushButton ipRightsLk) {
		this.ipRightsLk = ipRightsLk;
	}



	public PushButton getIpRightsLk() {
		return ipRightsLk;
	}



	public void setGeneralKeywordsLk(PushButton generalKeywordsLk) {
		this.generalKeywordsLk = generalKeywordsLk;
	}



	public PushButton getGeneralKeywordsLk() {
		return generalKeywordsLk;
	}



	public void setTemporalCoverageLk(PushButton temporalCoverageLk) {
		this.temporalCoverageLk = temporalCoverageLk;
	}



	public PushButton getTemporalCoverageLk() {
		return temporalCoverageLk;
	}
}